<?php
class image_folder_config extends Model
{
	public static function getTableName()
	{
		return 'image_folder-config';
	}

	public function getPrimaryKey()
	{
		return array('folder_id');
	}

	/*
	 * by donald
	 */
/*
	public function add_change_log()
	{
		$field['type'] = $this->getTableName();
		$field['keys'] = array('id' => $this->id);
		$field['is_active'] = 1;
		$field['programme_id'] = $this->programme_id;
		$field['episode_id'] = $this->episode_id;
		$field['is_publish'] = 0;

		change_log::updateOne($field);
	}
 */

	/*
	 * by donald
	 */
/*
	public function delete_change_log()
	{
		$type = $this->getTableName();
		$keys = array('id' => $this->id);
		$is_publish = 0;

		change_log::delTypeAndKeysLog($type, $keys, $is_publish);
	}
 */
}
